/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*
*	Julio Montes e-mail: imc.coder@gmail.com
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef FILESELECTOR_H
#define FILESELECTOR_H
#include <wx/wx.h>
#include <vector>
#include <iostream>
#include <fstream>

using namespace std;

namespace alliance
{

class FileSelector:public wxDialog
{
public:
    FileSelector(const wxString& title,wxArrayString arr,wxString path_file,wxString labelFileOut,
                 int typeFile,string& fIn,string& fOut,wxString &path_wx);
    virtual ~FileSelector();
private:
    void OnOk(wxCommandEvent& event);
    void OnCancel(wxCommandEvent& event);
    wxStaticText *m_instruction,*m_instruction2;
    wxComboBox *m_filesChoose;
    wxButton *m_buttonOk;
    wxButton *m_buttonCancel;
    wxTextCtrl *m_fieldNameFileOut;
    wxString p_file;
    string *m_inputFile;
    string *m_outputFile;
    wxString *p_fo;
};

}
#endif // FILESELECTOR_H

